import request from "../utils/request"
/**
 * 获取企业列表
 * @param {*} params 
 * @returns 
 */
export const setEnterprise = (params) => request.get('/park/enterprise' , { params})

/**
 * 删除企业
 * @param {*} id 
 * @returns 
 */
export const delEnterprise = (id) => request.delete(`/park/enterprise/${id}`)

/**
 * 添加企业
 * @param {*} data 
 * @returns 
 */
export const addEnterprise = (data) => request.post('/park/enterprise' , data)

/**
 * 编辑企业
 * @param {*} data 
 * @returns 
 */
export const editEnterprise = (data) => request.put('/park/enterprise' , data)

/**
 * 查询企业详情
 * @param {*} id 
 * @returns 
 */
export const seetEnterprise = (id) => request.get(`/park/enterprise/${id}`)

/**
 * 获取行业列表
 * @returns 
 */
export const gettIndustry = () => request.get(`/park/industry`)